home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 124 / cd-rom 124.iso / edu / tuxmath / tuxmathscrabble / asymptopia / Button.pyc (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2003-11-16  |  2.1 KB  |  42 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.2)
  3.  
  4. '''
  5. /***************************************************************************
  6.  
  7. \tAuthor \t\t\t:Charles B. Cosse 
  8. \t
  9. \tEmail\t\t\t:ccosse@asymptopia.com
  10. \t\t\t\t\t
  11. \tCopyright\t\t:(C) 2002,2003 Asymptopia Software.
  12. \t
  13.  ***************************************************************************/
  14. /***************************************************************************
  15.                           Button.py
  16.  
  17.  ***************************************************************************/
  18.  
  19. /***************************************************************************
  20.  *                                                                         *
  21.  *   This program is free software; you can redistribute it and/or modify  *
  22.  *   it under the terms of the GNU General Public License as published by  *
  23.  *   the Free Software Foundation; either version 2 of the License, or     *
  24.  *   (at your option) any later version. (Please note that if you use this *
  25.  *   code you must give credit by including the Author and Copyright       *
  26.  *   info at the top of this file).                                        *
  27.  ***************************************************************************/
  28.  
  29. '''
  30. import pygame
  31. import os
  32. from pygame.locals import *
  33. from myutil import *
  34.  
  35. class Button(pygame.sprite.Sprite):
  36.     
  37.     def __init__(self, fname):
  38.         pygame.sprite.Sprite.__init__(self)
  39.         (self.image, self.rect) = load_image(fname, -1)
  40.  
  41.  
  42.